package ltd.hyangyang.vegetable.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import ltd.hyangyang.vegetable.entity.ClassificationEntity;

import java.util.List;
import java.util.Map;

public interface ClassificationService extends IService<ClassificationEntity> {

    ClassificationEntity distinguish(String dirPath, String fileName);


    Page<ClassificationEntity> getAll(ClassificationEntity classification);

    List<ClassificationEntity> getAllList();

    List<ClassificationEntity> categoryTree();

    List<ClassificationEntity> search(String keyword);

    Integer getDistinguishId(String dirPath, String fileName);
}
